﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;

/// <summary>
/// Summary description for excClass
/// </summary>
public class excClass
{
    //public static void tabb(Tabsobject obj)
    //{
    //    using (SqlConnection con = new SqlConnection(CString.ConnectionString))
    //    {
    //        //string cl1 = "select DishName,DishPrice,DishQty,DateTime from FinalOrder where CustomerID ='" + obj.ID + "'";
    //        //SqlCommand bcl = new SqlCommand("select sum(balance) from FinalOrder where CustomerID ='" + obj.Name + "'", con);
    //        //SqlCommand oh1 = new SqlCommand(cl1, con);
    //        //SqlCommand sel1 = new SqlCommand("select Name from Regester where UserID='" + obj.ID + "'", con);
    //        //SqlCommand sel2 = new SqlCommand("select eMailid from Regester where UserID='" + obj.ID + "'", con);
    //        //SqlCommand sel3 = new SqlCommand("select Address from Regester where UserID='" + obj.ID + "'", con);
    //        //con.Open();
    //        //oh1.ExecuteNonQuery();
    //        //obj.WBal = Convert.ToInt32(bcl.ExecuteScalar());
    //        //obj.Email = Convert.ToString(sel2.ExecuteScalar());
    //        //obj.Add = Convert.ToString(sel3.ExecuteScalar());
    //        //con.Close();
    //        //SqlDataAdapter da = new SqlDataAdapter(oh1);
    //        //DataSet ds = new DataSet();
    //        //da.Fill(ds);
    //    }


    //}
}